import request from '@/utils/request'

// 获取商品列表
export const getGoodsList = params => request.get('goods', { params })

// 添加商品
export const addGoods = goodsFrom => request.post('goods', goodsFrom)

// 删除商品
export const deleteGoods = goodsId => request.delete(`goods/${goodsId}`)
